package com.deyuanyun.pic.ctrl.app.controller;

import com.deyuanyun.pic.common.webservice.UtilsServiceClient;

import java.net.MalformedURLException;
import java.util.List;

/**
 * Created by Shirly on 2016/11/15.
 */
public class dada {
    public static void main(String[] args) {
        Object a = null;
        String b = String.valueOf(a);
        System.out.println(b == null);
        System.out.println(b.equals(null));
        System.out.println(b.equals("null"));

        String param="[{'id':'31bc2c3d66e14d2b8eda4950a345f76b','x':74014.44099999964,'y':39154.45299999975}]";
        try {
           List<Double> lists =  UtilsServiceClient.getMileage(param);
            System.out.println(lists.get(0));;
        } catch (MalformedURLException e) {
            e.printStackTrace();
        }

    }
}
